/**
	Pulsar engine. Samples.
	Base hello word sample 1.

	Copyright (C) 2013-2014 Dmitry Dolgov

	This program is free software; you can redistribute it and/or modify it under the terms of the
	GNU General Public License as published by the Free Software Foundation; either version 2 of
	the License, or (at your option) any later version.

	This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
	without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
	See the GNU General Public License for more details.
*/

#include <pulsar/pulsar.h>

#include "sample1.h"

namespace sample
{

App App::app;

} // namespace sample

/*
	Preliminary initialization routines
	This function is not used in this sample
*/
void sample::App::preInit(pl::StartupFunc& info)
{
	return;
}

/*
	Main application entry point
*/
int sample::App::mainLoop()
{
	// PL_TRACE macro forward text message to standard debug output
	// This macro works in PL_DEBUG configuration only
	PL_TRACE(PL_T("Hello, world"));
	return 0;
}

//
// End of file 'sample1.cpp'
//
